import { getParkInfoAPI } from "@/api/park"
import { ref } from "vue"

export function useParkInfo() {
  const parkInfo = ref({})
  const getParkInfo = async () => {
    const { data } = await getParkInfoAPI()
    parkInfo.value = data
  }

  return { parkInfo, getParkInfo }
}
